Org\Wplake\Advanced_Views\Upgrades D

Total Complexity 128
Dependencies 24
Dependents 3
Total lines 981
Lines of code 689
Logical lines of code 346
Comment lines 90
Methods 38
Properties 8

Methods 38

Method Rating Maintainability Complexity Lines of code
upgrade_global_items()
B
34 18 110
is_version_lower()
A
49 11 31
replace_post_comments_and_menu_link_fields_to_separate()
A
47 7 38
setup_light_box_simple_from_old_checkbox()
S
53 7 24
update_markup_identifiers()
S
49 6 30
move_options_to_settings()
S
55 5 21
put_new_default_into_existing_empty_query_args_field()
S
49 3 46
move_view_and_card_meta_to_post_content_json()
S
51 4 28
put_new_default_into_existing_empty_php_variable_field()
S
51 3 37
set_digital_id_for_markup_flag_for_views_and_cards()
S
54 4 20
fill_unique_id_and_post_title_in_json()
S
57 4 17
disable_web_components_for_existing_views_and_cards()
S
59 4 14
recreate_post_slugs()
S
54 3 22
replace_view_id_to_unique_id_in_cards()
S
55 3 19
move_all_is_without_web_component_to_select()
S
57 3 19
replace_view_id_to_unique_id_in_view_relationships()
S
57 3 17
move_is_without_web_component_to_select()
S
60 3 14
replace_view_id_to_unique_id_in_view()
S
61 3 13
enable_name_back_compatibility_checkbox_for_views_with_gutenberg()
S
63 3 11
replace_gutenberg_checkbox_with_select()
S
63 3 11
fix_multiple_slashes_in_post_content_json()
S
55 2 20
enable_with_common_classes_and_unnecessary_wrappers_for_all_views()
S
58 2 15
first_run()
S
63 2 13
upgrade_imported_item()
S
73 2 5
perform_upgrade()
S
66 2 9
remove_old_theme_labels_folder()
S
66 2 8
set_hooks()
S
68 2 7
get_wp_filesystem()
S
66 2 9
trigger_save_for_all_cards()
S
69 2 7
trigger_save_for_all_views()
S
69 2 7
set_dependencies()
S
71 1 6
get_all_cards()
S
65 1 9
get_all_views()
S
65 1 9
replace_post_identifiers()
S
68 1 7
get_views_cpt_save_actions()
S
82 1 3
get_cards_data_storage()
S
82 1 3
get_views_data_storage()
S
82 1 3
__construct()
S
68 1 7